<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>带标题的卡片示例</title>
		<style>
			body {
				font-family: Arial, sans-serif;
				background-color: #f4f4f4;
				display: flex;
				justify-content: center;
				align-items: center;
				height: 100vh;
				margin: 0;
			}

			.card {
				background-color: #fff;
				border-radius: 10px;
				box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
				width: 300px;
				overflow: hidden; /* 确保圆角不被内容破坏 */
			}

			.card-header {
				background-color: #007bff;
				color: #fff;
				padding: 15px;
				text-align: center;
				font-size: 20px;
				font-weight: bold;
			}

			.card-bottom {
				background-color: #dfdfdf;
				color: rgb(129, 129, 129);
				padding: 10px;
				text-align: center;
				font-size: 15px;
				font-weight: bold;
			}

			.card-content {
				padding: 20px;
				text-align: center;
			}

			.card-content img {
				border-radius: 50%;
				width: 100px;
				height: 100px;
			}

			.card-content h2 {
				margin: 10px 0;
				font-size: 24px;
				color: #333;
			}

			.card-content p {
				font-size: 16px;
				color: #666;
			}

			.card-content button {
				background-color: #007bff;
				color: #fff;
				border: none;
				padding: 10px 20px;
				border-radius: 5px;
				cursor: pointer;
				font-size: 16px;
			}

			.card-content button:hover {
				background-color: #0056b3;
			}
		</style>
	</head>
	<body>
		<div class="card">
			<div class="card-header">28岁生日还有</div>
			<div class="card-content">
				<h1>10171</h1>
			</div>
			<div class="card-bottom">2025-04-15 星期二</div>
		</div>
	</body>
</html>
